Skip to content

Commit

Permalink
Export method from project
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Feb 26, 2023
1 parent 35ef698 commit 66c1bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions packages/static-implements/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './staticImplements'
7 changes: 3 additions & 4 deletions packages/static-implements/src/staticImplements.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* Annotation to be used to decorate classes which support
* an asynchronous creation pattern
* @returns The decorated Module requiring it implement the members
* of the CreatableModule as statics properties/methods
* Annotation to decorate classes which implement static methods
* @returns The decorated class requiring it to implement
* the members of the the type as static properties/methods
*/
export function staticImplements<T>() {
return <U extends T>(constructor: U) => {
Expand Down

0 comments on commit 66c1bc3

Please sign in to comment.