mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #2389 from borisyankov/def/typescriptServic
Update typescriptServices-tests.ts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
import ts = require('typescript-services');
|
||||
|
||||
// formatter:
|
||||
var snapshot = TypeScript.SimpleText.fromString('var foo = 123;');
|
||||
var formatter = new ts.Services.Formatting.TextSnapshot(snapshot);
|
||||
// formatter:
|
||||
var snapshot = ts.SimpleText.fromString('var foo = 123;');
|
||||
var formatter = new ts.Services.Formatting.TextSnapshot(snapshot);
|
||||
console.log(formatter);
|
||||
|
||||
Reference in New Issue
Block a user