-
Updated
Jul 4, 2022 - JavaScript
types
Here are 1,195 public repositories matching this topic...
-
Updated
Jul 7, 2022 - TypeScript
-
Updated
Jul 1, 2022 - TypeScript
-
Updated
Apr 19, 2022 - TypeScript
-
Updated
May 30, 2022 - TypeScript
-
Updated
Jul 24, 2017 - TypeScript
Input
-
Updated
Jul 4, 2022 - Python
Add new function utility which is useful in tests:
const createFactoryWithConstrain =
<Constrain>() =>
<U extends Constrain>(value: U): U =>
value;
Playground with use cases – tsplay.dev/Ndo6Yw
With #235 I've noticed that InstanceOf
is undocumented in the readme.
I'd like to add a config and the ability to have a .js config file in order to generate nestjs repositories and files that just have types. The easiest way to do this, and without introducing much additional maintenance would be to let folks supply their own generator templates.
Splitting the types to a different library might be a little tricky to add in a config, so at first it might not b
-
Updated
Jul 4, 2022 - Clojure
-
Updated
Jul 7, 2022 - Python
References to typing.TYPE_CHECKING
are evaluated at runtime, even though they should be treated as compile-time constants. This can have a significant performance impact within hot functions.
Example:
from typing import TYPE_CHECKING # Or from typing_extensions import ...
if TYPE_CHECKING: # This should compile to nothing
whatever
-
Updated
Jul 7, 2022 - Ruby
A lot of the files do not use a type checking block, and thus imports only for typing are imported at runtime - increasing memory usage unnecessarily. The task would be to a flake8 type checking plugin (for example this one) to the .pre-commit-config.yaml
file, run pre-commit run --allf-files
, and fix all reported issues.
-
Updated
Jul 6, 2022 - OCaml
Debugging Kotlin∇ code within IntelliJ IDEA can be somewhat cumbersome due to the functional API structure (lots of deeply-nested stack traces and context switching). To facilitate more user-friendly debugging, we should add support for visual debugging by exposing Kaliningraph’s built-in graph visualization capabilities. For example, the use
What version of Racket are you using?
Racket 8.2.0.8
What program did you run?
(: hi (All (r #:row)
(-> r r)))
(define (hi a)
a)
What should have happened?
The type checker should reject the program, because a type variable for a polymorphic row type is in fact only allowed to appear in (Class #:row-var _)
in Typed Racket.
If you got an erro
It is common to have Union
traits of the form Union(None, <something>)
. As a convenience to developers, and following a similar convention in Python's typing
module, we should consider having Optional(<something>)
as an alternative way of writing Union(None, <something>)
.
An alternative would be to make allow_none
metadata universally accepted across TraitType
instances.
-
Updated
Dec 7, 2021 - Idris
Improve this page
Add a description, image, and links to the types topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the types topic, visit your repo's landing page and select "manage topics."
My goal is to have the best documentation for each provided type.
If something is unclear in any of the types, please comment or open a PR to improve it.
Some things you could contribute: