| 1 |
{ |
| 2 |
"$schema": "https://json.schemastore.org/tsconfig.json", |
| 3 |
"compilerOptions": { |
| 4 |
"target": "ES2015", |
| 5 |
"lib": ["es2019", "dom"], |
| 6 |
"module": "ESNext", |
| 7 |
"skipLibCheck": true, |
| 8 |
|
| 9 |
"moduleResolution": "bundler", |
| 10 |
"resolveJsonModule": true, |
| 11 |
"isolatedModules": true, |
| 12 |
"noEmit": true, |
| 13 |
"jsx": "react-jsx", |
| 14 |
|
| 15 |
"strict": true, |
| 16 |
|
| 17 |
"allowSyntheticDefaultImports": true, |
| 18 |
"esModuleInterop": true, |
| 19 |
"paths": { |
| 20 |
// Project-specific paths |
| 21 |
"@tableberg/components": ["./components"], |
| 22 |
"@tableberg/components/*": ["./components/*"], |
| 23 |
"@tableberg/shared/*": ["./shared/*"], |
| 24 |
|
| 25 |
// WordPress internal types (not exported from main index) |
| 26 |
// These paths allow importing types from build-types directories |
| 27 |
// Example: import { WPCompleter } from "@wordpress/components/build-types/autocomplete/types" |
| 28 |
"@wordpress/components/build-types/*": [ |
| 29 |
"./node_modules/@wordpress/components/build-types/*" |
| 30 |
], |
| 31 |
"@wordpress/block-editor/build-types/*": [ |
| 32 |
"./node_modules/@wordpress/block-editor/build-types/*" |
| 33 |
], |
| 34 |
"@wordpress/components/build-types/autocomplete/types": [ |
| 35 |
"./typings/wordpress__components__autocomplete.d.ts" |
| 36 |
] |
| 37 |
} |
| 38 |
} |
| 39 |
} |
| 40 |
|