Skip to content

Commit

Permalink
Once again, set snc to fixed value to see perf floor of function
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Sep 21, 2022
1 parent e71de9c commit b632e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/checker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ namespace ts {
const moduleKind = getEmitModuleKind(compilerOptions);
const useDefineForClassFields = getUseDefineForClassFields(compilerOptions);
const allowSyntheticDefaultImports = getAllowSyntheticDefaultImports(compilerOptions);
const strictNullChecks = (context: Node | undefined) => getStrictOptionValue(context && getSourceFileOfNode(context), compilerOptions, "strictNullChecks");
const strictNullChecks = (_context: Node | undefined) => true; //getStrictOptionValue(context && getSourceFileOfNode(context), compilerOptions, "strictNullChecks");
const strictFunctionTypes = (file: SourceFile | undefined) => getStrictOptionValue(file, compilerOptions, "strictFunctionTypes");
const strictBindCallApply = (file: SourceFile | undefined) => getStrictOptionValue(file, compilerOptions, "strictBindCallApply");
const strictPropertyInitialization = (file: SourceFile) => getStrictOptionValue(file, compilerOptions, "strictPropertyInitialization");
Expand Down

0 comments on commit b632e6a

Please sign in to comment.