Skip to main content

TYPESCRIPT_MAJOR_TESTED

Constant TYPESCRIPT_MAJOR_TESTED 

Source
pub const TYPESCRIPT_MAJOR_TESTED: u32 = 7;
Expand description

The TypeScript major the emitted output is verified against, and the only one Bynk supports (#3420): the one users get from npm install -g typescript. Every CI leg installs it and type-checks every positive fixture under it, the npx fallbacks provision it, and bynk doctor warns on a tsc below it and reports one newer than it as untested. (There was a lower floor, 5, until #3420: tsc 5 cost about 4x tsc 7 per bynk test, and the shape of the generated code is meant to be independent of the tooling.)