stable

Clone or download

Read-only

Enforce isolated modules

Part of request #19300 Enforce @typescript-eslint/consistent-type-imports Set isolatedModules in tsconfig. This will warn people when exporting types. No functional change expected. Note that we have to sometimes add an empty export {} so that some files without any import or export will be considered as modules as well. I also removed the commented lines in our main tsconfig file. IDEs will tell you an accurate information when hovering properties and the format can be found online and up-to-date. Change-Id: Ic5e176a309dbfff3ef023e951b505ef924899a29

Modified Files

Name
M plugins/git/scripts/repository/file/line-highlight.ts +2 −0 Go to diff View file
M plugins/svn/scripts/global-admin-migrate.ts +2 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/helpers/drag-and-drop/drekkenov.ts +1 −1 Go to diff View file
M plugins/tracker/scripts/form-element/src/cross-references-fields.ts +2 −0 Go to diff View file
M src/scripts/account/preferences-nav.ts +2 −0 Go to diff View file
M src/scripts/account/security.ts +2 −0 Go to diff View file
M src/scripts/lib/list-picker/src/index.ts +2 −2 Go to diff View file
M src/scripts/lib/vue-breadcrumb-privacy/src/index.ts +2 −1 Go to diff View file
M tools/utils/scripts/tsconfig-for-libraries.json +1 −0 Go to diff View file
M tsconfig.json +12 −66 Go to diff View file