Skip to content

Commit

Permalink
typing example
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirionHughes committed Jun 22, 2016
1 parent d343f16 commit 65fae6b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions example/typings/library.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
declare module 'farm'
{
export interface Animal {
name: string;
age: number;
}

export class Pig implements Animal {
name: string;
age: number;
}
}

0 comments on commit 65fae6b

Please sign in to comment.