-
Updated
Nov 13, 2021 - JavaScript
types
Here are 1,024 public repositories matching this topic...
-
Updated
Nov 14, 2021 - TypeScript
-
Updated
Nov 13, 2021 - Python
-
Updated
Nov 12, 2021 - TypeScript
-
Updated
Oct 12, 2021 - TypeScript
-
Updated
Jul 24, 2017 - TypeScript
-
Updated
Oct 16, 2021 - TypeScript
Input
# typed: true
class MyEnum < T::Enum
enums do
X = new
# ^ def: X
e-
Updated
Nov 14, 2021 - Python
-
Updated
Aug 23, 2021 - Python
With #235 I've noticed that InstanceOf is undocumented in the readme.
-
Updated
Nov 11, 2021 - TypeScript
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
Nov 9, 2021 - Clojure
-
Updated
Nov 12, 2021 - 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
Sep 27, 2021 - Ruby
-
Updated
Oct 25, 2021 - 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
(exp (log (make-polar 1.7976931348623153e+308 -1.797693134862315e+308)))
produces -8.648665413126592e+306-1.7956115019091953e+308i in Racket but -inf.0-inf.0i after Typed Racket optimization. Optimized code is:
(let-values (((g3)
(#%app
log
-
Updated
Nov 2, 2021 - Idris
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.
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."
microsoft/TypeScript#45350 introduces the
Awaitedtype, which does the same thing (but more advanced).This is part of TypeScript 4.5.
TypeScript blog