mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
12 lines
227 B
TypeScript
12 lines
227 B
TypeScript
/// <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());
|