2018-09-26 22:50:37 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @moduleResolution: node
|
|
|
|
// @resolveJsonModule: true
|
|
|
|
// @strict: true
|
|
|
|
|
|
|
|
// @Filename: /node_modules/foo/bar.json
|
2018-09-27 01:05:12 +02:00
|
|
|
////{ "a": 0 }
|
2018-09-26 22:50:37 +02:00
|
|
|
|
|
|
|
// @Filename: /a.ts
|
|
|
|
////import abs = require([|"foo/bar.json"|]);
|
|
|
|
////abs;
|
|
|
|
|
|
|
|
verify.noErrors();
|
|
|
|
goTo.file("/a.ts");
|
|
|
|
verify.getSuggestionDiagnostics([]);
|