mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Enable noUncheckedSideEffectImports by default and fix affected tests
Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
This commit is contained in:
parent
f8da69bcd6
commit
45860790c5
@ -1243,7 +1243,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [
|
||||
affectsBuildInfo: true,
|
||||
category: Diagnostics.Modules,
|
||||
description: Diagnostics.Check_side_effect_imports,
|
||||
defaultValueDescription: false,
|
||||
defaultValueDescription: true,
|
||||
},
|
||||
|
||||
// Source Maps
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @noUncheckedSideEffectImports: false
|
||||
|
||||
////import { /*a0*/Bar } from "does-not-exist";
|
||||
////
|
||||
////let a: /*a1*/Bar;
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
/// <reference path='fourslash.ts'/>
|
||||
|
||||
// @noUncheckedSideEffectImports: false
|
||||
|
||||
////import * as /*a0*/Bar from "does-not-exist";
|
||||
////
|
||||
////let a: /*a1*/Bar;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user