Typescript package with configuration
Contains configuration for node and browser
Set up
In root of the project create file tsconfig.json
and extend configuration.
for node:
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@vavra7/typescript/tsconfig.node.json",
"compilerOptions": {
...
}
}
for browser:
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@vavra7/typescript/tsconfig.browser.json",
"compilerOptions": {
...
}
}