mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-29 19:42:39 -05:00
semanitc -> semantic
This commit is contained in:
@@ -4980,7 +4980,7 @@ namespace ts.projectSystem {
|
||||
assert.isTrue(error2Result.length === 0);
|
||||
});
|
||||
|
||||
it("should report semanitc errors for loose JS files with '// @ts-check' and skipLibCheck=true", () => {
|
||||
it("should report semantic errors for loose JS files with '// @ts-check' and skipLibCheck=true", () => {
|
||||
const jsFile = {
|
||||
path: "/a/jsFile.js",
|
||||
content: `
|
||||
@@ -5002,7 +5002,7 @@ namespace ts.projectSystem {
|
||||
assert.equal(errorResult[0].code, Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code);
|
||||
});
|
||||
|
||||
it("should report semanitc errors for configured js project with '// @ts-check' and skipLibCheck=true", () => {
|
||||
it("should report semantic errors for configured js project with '// @ts-check' and skipLibCheck=true", () => {
|
||||
const jsconfigFile = {
|
||||
path: "/a/jsconfig.json",
|
||||
content: "{}"
|
||||
@@ -5029,7 +5029,7 @@ namespace ts.projectSystem {
|
||||
assert.equal(errorResult[0].code, Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code);
|
||||
});
|
||||
|
||||
it("should report semanitc errors for configured js project with checkJs=true and skipLibCheck=true", () => {
|
||||
it("should report semantic errors for configured js project with checkJs=true and skipLibCheck=true", () => {
|
||||
const jsconfigFile = {
|
||||
path: "/a/jsconfig.json",
|
||||
content: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user