Files
flatbuffers/tests/ts/tsconfig.json
Bulent Vural c2d9c20803 [TS] Add support for fixed length arrays on Typescript (#5864) (#7021) (#7581)
* [TS] Add support for fixed length arrays on Typescript (#5864) (#7021)

    * Typescript / Javascript don't have fixed arrays but it is important to support these languages for compatibility.

    * Generated TS code checks the length of the given array and do truncating / padding to conform to the schema.

    * Supports the both standard API and Object Based API.

    * Added a test.

    Co-authored-by: Mehmet Baker <mehmet.baker@zerodensity.tv>
    Signed-off-by: Bulent Vural <bulent.vural@zerodensity.tv>

Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>

* Formatting & readability fixes on idl_gen_ts.cpp

Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>

* Added array_test_complex.bfbs

Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>

* TS arrays_test_complex: Remove bfbs and use  fbs directly

Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>

Signed-off-by: Bülent Vural <bulent.vural@zerodensity.tv>
2022-10-28 17:00:24 -07:00

27 lines
627 B
JSON

{
"compilerOptions": {
"target": "ES6",
"lib": ["ES2015", "ES2020.BigInt", "DOM"],
"moduleResolution": "Node",
"noImplicitAny": true,
"strict": true,
"noUnusedParameters": false,
"noUnusedLocals": false,
"noImplicitReturns": true,
"strictNullChecks": true,
"baseUrl": ".",
"noEmit": false
},
"include": [
"monster_test.ts",
"typescript_keywords.ts",
"typescript_keywords_generated.ts",
"my-game/**/*.ts",
"typescript/**/*.ts",
"optional_scalars/**/*.ts",
"namespace_test/**/*.ts",
"union_vector/**/*.ts",
"arrays_test_complex/**/*.ts"
]
}