diff --git a/rivets/rivets-tests.ts b/rivets/rivets-tests.ts
new file mode 100644
index 0000000000..fec2820460
--- /dev/null
+++ b/rivets/rivets-tests.ts
@@ -0,0 +1,18 @@
+///
+
+Rivets.configure({
+ // Attribute prefix in templates
+ prefix: 'rv',
+ // Preload templates with initial data on bind
+ preloadData: true,
+ // Root sightglass interface for keypaths
+ rootInterface: '.',
+ // Template delimiters for text bindings
+ templateDelimiters: ['[[', ']]'],
+ // Augment the event handler of the on-* binder
+ handler: function(target:any, event:any, binding:any) {
+ this.call(target, event, binding.view.models)
+ }
+ })
+var t = {test: ["hello", "one", "two"]}
+Rivets.bind(document.getElementById("para1"), t)
\ No newline at end of file
diff --git a/rivets/rivets.d.ts b/rivets/rivets.d.ts
new file mode 100644
index 0000000000..2b04653ec1
--- /dev/null
+++ b/rivets/rivets.d.ts
@@ -0,0 +1,35 @@
+// Type definitions for rivets
+// Project: http://rivetsjs.com/
+// Definitions by: Trevor Baron
+// Definitions: https://github.com/borisyankov/DefinitelyTyped
+
+interface FinchStatic {
+ configure(options?: {
+ /**
+ * Attribute prefix in templates
+ */
+ prefix?: string;
+ /**
+ * Preload templates with initial data on bind
+ */
+ preloadData?: boolean;
+ /**
+ * Root sightglass interface for keypaths
+ */
+ rootInterface?: string;
+ /**
+ * Template delimiters for text bindings
+ */
+ templateDelimiters?: Array
+ /**
+ * Augment the event handler of the on-* binder
+ */
+ handler?: Function;
+ }):void;
+ bind(element:any, template:any):void;
+}
+
+declare var Rivets: FinchStatic;
+declare module "rivets" {
+ export = Rivets;
+}