mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
fix knockstrap/knockstrap-tests.ts
This commit is contained in:
@@ -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