@conterra/ct-mapapps-typings
v4.19.0-next.20241115050404
Published
TypeDefinitions for ct-mapapps
Downloads
3,648
Keywords
Readme
ct-mapapps-typings
Type definitions for ct-mapapps
Installation
npm install --save-dev @conterra/ct-mapapps-typings
Use in TypeScript module
tsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": ["./src/main/js/bundles/*", "./node_modules/@conterra/ct-mapapps-typings/*"]
}
}
}
Use in JavaScript module
tsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": ["./src/main/js/bundles/*", "./node_modules/@conterra/ct-mapapps-typings/*"]
},
"allowJs": true,
"noEmit": true
}
}
Additional recommended typings
We also recommend to install the declaration files for the ArcGIS JavaScript API and the Dojo Toolkit:
$ npm install @types/arcgis-js-api
$ npm install dojo-typings --save-dev
// tsconfig.json
{
"include": [
// ...
"node_modules/dojo-typings/index.d.ts"
]
}