mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
fix knockstrap/knockstrap-tests.ts
This commit is contained in:
1 parent
4c496a911e
commit
e2dedd4f9b
1 file changed
+1
-1
@@ -21,7 +21,7 @@ var sample = new Sample();
|
||||
var unwrappedProperties = ko.utils.unwrapProperties(sample);
|
||||
|
||||
var kts: KnockoutTemplateSources;
|
||||
var stringTemplate = kts.stringTemplate('string-template');
|
||||
var stringTemplate = new kts.stringTemplate('string-template');
|
||||
var stname = stringTemplate.templateName;
|
||||
|
||||
ko.stringTemplateEngine.instance.allowTemplateRewriting = true;
|
||||
|
||||
Reference in new issue
Block a user