Comparing microsoft:main...raphaelfeng:master · microsoft/TypeScript · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: microsoft/TypeScript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: raphaelfeng/TypeScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on May 8, 2015

  1. Generate google closurer compiler externs from type file

    If using any external libraries in you javascript code, you
    need to declare those APIs in the externs file, so that the
    Google Closure Compiler will not rename the symbols of the APIs.
    https://developers.google.com/closure/compiler/docs/api-tutorial3#externs
    
    Add an ext.ts to generate the externs file from typescript type
    file(http://www.typescriptlang.org/Handbook#writing-dts-files)
    to make typescript work better with google closure compiler.
    To compile the ext.ts:
    tsc ext.ts --out ext.js
    
    To generate externs file:
    ./ext a.d.ts a.d.externs
    raphaelfeng committed May 8, 2015
    Configuration menu
    Copy the full SHA
    540689f View commit details
    Browse the repository at this point in the history
  2. Support the Export = case

    Refer to http://www.typescriptlang.org/Handbook#modules-export-
    for the case
    
    output the exported name instead of "export =".
    raphaelfeng committed May 8, 2015
    Configuration menu
    Copy the full SHA
    1f46f1c View commit details
    Browse the repository at this point in the history
Loading