Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

Commit

Permalink
docs(readme): update link to wiki v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
teppeis committed May 9, 2015
1 parent f035a42 commit 8af1c96
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ typescript-simple [![npm version][npm-image]][npm-url] [![downloads][npm-downloa
### Why?

* TypeScript v1.4 doesn't have simple TS string to JS string API
* TypeScript v1.5 has it, but source map is NOT available in the API
* TypeScript v1.5 has [ts.transpile()](https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function), but it cannot generate1.4 source map

## Versioning

Expand Down Expand Up @@ -47,7 +47,7 @@ try {

### Compiler Options

Specify [CompilerOptions](https://github.com/Microsoft/TypeScript/blob/v1.4/bin/typescriptServices.d.ts#L1086) at 2nd argument.
Specify [CompilerOptions](https://github.com/Microsoft/TypeScript/blob/v1.5.0-beta/bin/typescriptServices.d.ts#L1076-L1108) at 2nd argument.

```javascript
var js = tss('var n: number = 1;', {noImplicitAny: true});
Expand Down Expand Up @@ -101,10 +101,6 @@ Note: The path to file doesn't need to be an actual file. We just copy the conte

See [index.d.ts](index.d.ts).

## Note

This implementation is derived from code in [an official wiki page](https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API).

## Contributors

* [@basarat](https://github.com/basarat)
Expand Down

0 comments on commit 8af1c96

Please sign in to comment.