diff --git a/polymer-ts/polymer-ts-tests.ts b/polymer-ts/polymer-ts-tests.ts
new file mode 100644
index 0000000000..5e4e42df26
--- /dev/null
+++ b/polymer-ts/polymer-ts-tests.ts
@@ -0,0 +1,38 @@
+///
+
+namespace Components {
+
+ export class TestComponent extends polymer.Base {
+
+ public field: string = 'foo';
+ public is: string;
+
+ constructor() {
+ super();
+ this.is = 'test-test';
+ }
+
+ public ready(): void {
+ console.log('ready');
+ this.async(() => {
+ console.log('delayed');
+ }, 500);
+ }
+ }
+
+ polymer.createElement(TestComponent);
+
+ @component('test-annotated')
+ export class AnnotatedComponent extends polymer.Base {
+
+ public field: string = 'xx';
+
+ constructor() {
+ super();
+ }
+
+ public ready(): void {
+ console.log('annotated ready');
+ }
+ }
+}
diff --git a/polymer-ts/polymer-ts.d.ts b/polymer-ts/polymer-ts.d.ts
index cd96dfe21a..c00c0ce1a0 100644
--- a/polymer-ts/polymer-ts.d.ts
+++ b/polymer-ts/polymer-ts.d.ts
@@ -1,8 +1,3 @@
-// Type definitions for PolymerTS 0.1.17
-// Project: https://github.com/nippur72/PolymerTS
-// Definitions by: Louis Grignon
-// Definitions: https://github.com/borisyankov/DefinitelyTyped
-
declare module polymer {
class PolymerBase extends HTMLElement {
$: any;
@@ -93,7 +88,7 @@ declare module polymer {
type?: any;
value?: any;
reflectToAttribute?: boolean;
- readonly?: boolean;
+ readOnly?: boolean;
notify?: boolean;
computed?: string;
observer?: string;