mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Update typescriptServices-tests.ts
actual test
This commit is contained in:
1 parent
1e159083bd
commit
9f13a7bafa
1 file changed
+4
-3
@@ -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