mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-03 15:50:32 +00: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());
|