1
0
mirror of synced 2025-11-08 21:07:23 +00:00

refactor(package): rename from es7-typescript-starter to typescript-starter

This commit is contained in:
Jason Dreyzehner
2017-02-13 17:59:41 -05:00
parent 3aa9cf79df
commit 3c6f7b7419
7 changed files with 39 additions and 28 deletions

View File

@@ -3,14 +3,14 @@
*
* ### Example (es imports)
* ```js
* import { asyncABC } from 'es7-typescript-starter'
* import { asyncABC } from 'typescript-starter'
* console.log(await asyncABC())
* // => ['a','b','c']
* ```
*
* ### Example (commonjs)
* ```js
* var double = require('es7-typescript-starter').asyncABC;
* var double = require('typescript-starter').asyncABC;
* asyncABC().then(console.log);
* // => ['a','b','c']
* ```

View File

@@ -3,14 +3,14 @@
*
* ### Example (es module)
* ```js
* import { double } from 'es7-typescript-starter'
* import { double } from 'typescript-starter'
* console.log(double(4))
* // => 8
* ```
*
* ### Example (commonjs)
* ```js
* var double = require('es7-typescript-starter').double;
* var double = require('typescript-starter').double;
* console.log(double(4))
* // => 8
* ```
@@ -28,14 +28,14 @@ export function double (value: number) {
*
* ### Example (es module)
* ```js
* import { power } from 'es7-typescript-starter'
* import { power } from 'typescript-starter'
* console.log(power(2,3))
* // => 8
* ```
*
* ### Example (commonjs)
* ```js
* var power = require('es7-typescript-starter').power;
* var power = require('typescript-starter').power;
* console.log(power(2,3))
* // => 8
* ```