Skip to content

Commit cba2e1a

Browse files
committed
Update API sample
1 parent 65e1293 commit cba2e1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/baselines/reference/APISample_watcher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ declare var path: any;
2020
import * as ts from "typescript";
2121

2222
function watch(rootFileNames: string[], options: ts.CompilerOptions) {
23-
const files: ts.Map<{ version: number }> = {};
23+
const files: ts.MapLike<{ version: number }> = {};
2424

2525
// initialize the list of files
2626
rootFileNames.forEach(fileName => {

tests/cases/compiler/APISample_watcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare var path: any;
2323
import * as ts from "typescript";
2424

2525
function watch(rootFileNames: string[], options: ts.CompilerOptions) {
26-
const files: ts.Map<{ version: number }> = {};
26+
const files: ts.MapLike<{ version: number }> = {};
2727

2828
// initialize the list of files
2929
rootFileNames.forEach(fileName => {

0 commit comments

Comments
 (0)