- Notifications
You must be signed in to change notification settings - Fork12.9k
Enables passing--declaration
,--emitDeclarationOnly
,--declarationMap
,--soureMap
and--inlineSourceMap
totsc --build
#51241
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
tests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.json OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
648ce65
to35994b1
Compare32921e8
to0efa044
Comparee5a439f
toa1390a0
Compare--build
--declaration
,--emitDeclarationOnly
,--declarationMap
,--soureMap
and--inlineSourceMap
totsc --build
… sourceMap and inlineSourceMap on commandline of --build
…rmine uptodate ness
…ggest emitting d.ts files as well
a1390a0
to34e5ec2
Comparetests/baselines/reference/config/initTSConfig/Default initialized TSConfig/tsconfig.jsonShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
@typescript-bot pack this Going to try this on the module branch. |
typescript-bot commentedNov 4, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Heya@jakebailey, I've started to run the tarball bundle task on this PR at34e5ec2. You can monitor the buildhere. |
typescript-bot commentedNov 4, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Hey@jakebailey, I've packed this intoan installable tgz. You can install it for testing by referencing it in your
and then running There is also a playgroundfor this build and annpm module you can use via |
jakebailey commentedNov 5, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Tested it out, and it does appear to work, nice! Not sure Andrew has had time to look at this quite yet, but it seems reasonable to me. Mostly test baseline changes. |
Conaclos commentedJan 27, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Should tsc --build src --emitDeclarationOnly --outDir dist For now I got the following error: |
all the path related options are per project specific so will not be part of |
Uh oh!
There was an error while loading.Please reload this page.
This enables passing
--declaration
,--emitDeclarationOnly
,--declarationMap
,--soureMap
and--inlineSourceMap
totsc --build
.As part of this change:
declrationMap
options different from what the current compilerOptions are (eg if there are errors there wont be emit and emitSignature can go out of sync with options). This helps with checking if d.ts has changed or not irrespective of it being emitted with mapFixes#51164