* fixCannotFindModule: Special handling for node core modules like "fs" * Hardcode @types/node
16 lines
315 B
TypeScript
16 lines
315 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @noImplicitAny: true
|
|
|
|
// @Filename: /a.ts
|
|
////import fs = require("fs");
|
|
////fs;
|
|
|
|
verify.codeFixAvailable([{
|
|
description: "Install '@types/node'",
|
|
commands: [{
|
|
type: "install package",
|
|
file: "/a.ts",
|
|
packageName: "@types/node",
|
|
}],
|
|
}]);
|