UNPKG

@bunbox/struct

Version:

TypeScript library for defining and working with C-like structs in memory, with support for alignment, nested structs, enums, arrays, and FFI/WebAssembly interop.

40 lines 945 B
{ "exclude": [ "node_modules", "dist", "example" ], "include": [ "src/**/*.ts", ], "compilerOptions": { // Environment setup & latest features "lib": [ "ESNext" ], "target": "ESNext", "module": "Preserve", "moduleDetection": "force", "jsx": "react-jsx", "allowJs": true, // Bundler mode "moduleResolution": "bundler", "allowImportingTsExtensions": true, "verbatimModuleSyntax": true, // Best practices "strict": true, "skipLibCheck": true, "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, // Some stricter flags (disabled by default) "noUnusedLocals": false, "noUnusedParameters": false, "noPropertyAccessFromIndexSignature": false, "declaration": true, "emitDeclarationOnly": true, "rootDir": "./src", "outDir": "./dist", "declarationDir": "./dist", } }