Skip to content
This repository has been archived by the owner on Feb 14, 2021. It is now read-only.

Commit

Permalink
add index file for typescript and update package.son
Browse files Browse the repository at this point in the history
- add keyword
- rename repository
- add index.ts to import with typescript
  • Loading branch information
tooppoo authored and tooppoo committed Jul 20, 2017
1 parent d7118df commit 64cca47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import * as Relegater from './src/delegater';

export type Delegater<T> = Relegater.Delegater<T>;
export type $Delegater = Relegater.$Delegater;
export const delegate = Relegater.delegate;
export const $delegate = Relegater.$delegate;
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "relegater",
"version": "1.0.0",
"version": "1.0.1",
"description": "provide function which delegates a property access or method call to other object like 'delegate' in Ruby on Rails.",
"main": "dest/src/delegater.js",
"scripts": {
Expand All @@ -11,9 +11,9 @@
"coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
"keywords": [
"delegate"
"delegate", "like-rails", "typescript", "javascript"
],
"repository": "https://github.com/topo-js/delegate-js",
"repository": "https://github.com/topo-js/relegater",
"author": "topo",
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit 64cca47

Please sign in to comment.