mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fix remaining lint errors (#19166)
This commit is contained in:
@@ -33,7 +33,7 @@ function testSourceMapConsumer() {
|
||||
});
|
||||
|
||||
// create from index map
|
||||
let iscm: SourceMap.IndexedSourceMapConsumer = new SourceMap.SourceMapConsumer({
|
||||
const iscm: SourceMap.IndexedSourceMapConsumer = new SourceMap.SourceMapConsumer({
|
||||
version: 3,
|
||||
sections: [
|
||||
{ offset: { line: 0, column: 0 }, map: {
|
||||
@@ -47,7 +47,7 @@ function testSourceMapConsumer() {
|
||||
});
|
||||
|
||||
let scg: SourceMap.SourceMapGenerator;
|
||||
let bscm: SourceMap.BasicSourceMapConsumer = SourceMap.SourceMapConsumer.fromSourceMap(scg);
|
||||
const bscm: SourceMap.BasicSourceMapConsumer = SourceMap.SourceMapConsumer.fromSourceMap(scg);
|
||||
}
|
||||
|
||||
function testOriginalPositionFor(scm: SourceMap.SourceMapConsumer) {
|
||||
|
||||
@@ -1 +1,7 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
// TODO
|
||||
"prefer-const": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user