This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 889
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fix for no-unused-variable, only for imports.
- Loading branch information
Showing
3 changed files
with
154 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import $ = require("jquery"); | ||
import _ = require("underscore"); | ||
import {a2 as aa2} from "modA"; | ||
aa2; | ||
import {a3 as aa3} from "modA"; | ||
aa3; | ||
import {a8} from "modA"; | ||
a8; | ||
import {a13} from "modA"; | ||
a13; | ||
import {a14, a16} from "modA"; | ||
a14; | ||
a16; | ||
|
||
export import a = require("a"); | ||
|
||
$(_.xyz()); | ||
|
||
/// <reference path="../externalFormatter.test.ts" /> | ||
|
||
module S { | ||
var template = ""; | ||
} | ||
import * as bar from "libB"; | ||
import baz from "libC"; | ||
import { namedExport } from "libD"; | ||
import d3 from "libD"; | ||
d3; | ||
|
||
bar.someFunc(); | ||
baz(); | ||
namedExport(); | ||
|
||
import "jquery"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters