-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[TS] PoC of using types with custom build #13548
Comments
The result of PoC:
|
The example project is on branch I stared with online builder and downloaded a sample project. Changes in the buildTo transform the downloaded build to TypeScript, I did:
{
"compilerOptions": {
"strict": true,
"noImplicitAny": true,
"module": "ES6",
"target": "ES2019",
"moduleResolution": "node"
},
"include": [
"src"
]
}
After that changes, the build builds correctly and generates Enabling types in the buildTo generate types for the build (to be used by the
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "build",
"stripInternal": true
},
"include": [
"src",
]
}
After that changes, the build generates Changing the
|
cc: @apadol-cksource |
Part of #13471.
The text was updated successfully, but these errors were encountered: