Commit 74c2895
committed
Use shared type tests for preview and stable types
This guarantees that we will be testing exactly what our consumers use,
with the only difference being the specific import paths used to expose
the side effect modules. It also keeps the type tests from diverging
between the two sets of types.
Previously, following the DefinitelyTyped approach, all the preview
type modules had their own `tsconfig.json`, but this actually made them
fail to interoperate with stable types, and this approach *only* works
if they work together. Removing those means they operate as a single
coherent set of type definitions with the stable types, distinguished
*only* by the way they are authored.1 parent ed4a6e9 commit 74c2895
File tree
111 files changed
+7
-293
lines changed- type-tests
- @ember
- application-test
- array-test
- component-test
- controller-test
- engine-test
- object-test
- routing-test
- ember
- private
- techniques
- preview
- stable
- @ember
- types/preview
- @ember
- application
- array
- component
- controller
- debug
- destroyable
- engine
- -private
- error
- helper
- modifier
- object
- polyfills
- routing
- runloop
- service
- string
- template
- test
- utils
- ember
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
111 files changed
+7
-293
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments