New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design Meeting Notes, 5/3/2024 #58429
Labels
Design Notes
Notes from our design meetings
Comments
FWIW, the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Returnless functions in
isolatedDeclarations
#58330
--isolatedDeclarations
, or support better ergonomiccs onisolatedDeclarations
?f
asvoid
.never
.never
in a function expression are well-established.never
, we'd change them to only possibly beundefined
.void
here".Expose a subset of current compiler options to type system
#58396
@phryneas/ts-version
, a package that leveragestypesVersions
to tell you what version of TS you're on.TReturn
/TNext
inIterable
/IterableIterator
, as well as broader use cases and determine if this is a direction we want to take, which options to expose, and what to name the type.lib.d.ts
(or others) to decide on the type ofTReturn
/TNext
, or types of other things, based on--strictNullChecks
,--noImplicitAny
, etc.TypeScriptSettings extends { strictFunctionTypes: T } ? T : never
or similar. Why not justTypeScriptSettings["strictFunctionTypes"]
?TypeScriptSettings
is forward-declared, maybe doesn't have a given option.lib
- islib
really the right way to go about this?typesVersions
noImplicitAny
and that affects some code in a clever way?__TypeScriptSettingsDoNotUse
?TSCONFIG_YOU_WILL_BE_FIRED
TReturn
/TNext
?Have a consistent position for where some errors are reported
#57842
Cannot find module '@emotion/react/jsx-runtime' or its corresponding type declarations.
that will be reported on the first place we check.This syntax requires an imported helper but module 'tslib' cannot be found.
.The text was updated successfully, but these errors were encountered: