DefinitelyTyped/knockout/knockoutamd-tests.ts
2015-08-29 00:36:20 +09:00

12 lines
227 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/// <reference path="./knockout.d.ts" />
import ko = require("knockout");
var myArray = ko.observableArray([1, 2, 3]);
class MyViewModel {
name = ko.observable("Jeff");
}
ko.applyBindings(new MyViewModel());