Commit Graph
7 Commits
Author SHA1 Message Date
Ryan CavanaughandGitHub e3b6b04876 Merge pull request #15799 from pendar747/master
Modified the type definition for tinymce
2017-04-17 12:49:52 -07:00
AndyandGitHub bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Pendar 66f1eea558 fixed the issues with export redundancies 2017-04-12 01:28:18 +01:00
Pendar 04b5030d9b updated the test 2017-04-12 01:20:44 +01:00
Pendar 7c688d2998 Modified the type definition for tinymce
It now matches the [newer version of
typescript](https://www.typescriptlang.org/docs/handbook/namespaces-and-modules.html)

that suggest exporting

a namespace as an es6 module rather than declaring a module and exporting

that.

This also works better with browserify and looking up the type declaration

from the es6 import. So:

```

import * as tinymce from 'tinymce'

```

works and there is no need for importing it like:

```

import { tinymce } from 'tinymce'

```
2017-04-12 01:03:13 +01:00
AndyandGitHub 8abc615f82 tinymce: Apply new lint rules (#15446) 2017-03-28 10:57:03 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00