UNPKG

1.71 kBMarkdownView Raw
1---
2name: "\U0001F41B Types Bug"
3about: A problem with the type information for Ember & Ember-Data
4
5---
6
7<!-- This template is for bugs relating to Ember.js type information.
8 Please fill out all of the required information below -->
9
10### Which package(s) does this problem pertain to?
11 - [ ] @types/ember
12 - [ ] @types/ember__string
13 - [ ] @types/ember__polyfills
14 - [ ] @types/ember__object
15 - [ ] @types/ember__utils
16 - [ ] @types/ember__array
17 - [ ] @types/ember__engine
18 - [ ] @types/ember__debug
19 - [ ] @types/ember__runloop
20 - [ ] @types/ember__error
21 - [ ] @types/ember__controller
22 - [ ] @types/ember__component
23 - [ ] @types/ember__routing
24 - [ ] @types/ember__application
25 - [ ] @types/ember__test
26 - [ ] @types/ember__test-helpers
27 - [ ] @types/ember__service
28 - [ ] @types/ember-data
29 - [ ] @types/rsvp
30 - [ ] Other
31 - [ ] I don't know
32
33### What are instructions we can follow to reproduce the issue?
34```sh
35ember new sample; cd ./sample # Create a new ember app
36ember install ember-cli-typescript # Set up typescript support
37
38>> Your Instructions Go Here <<
39
40```
41
42##### Reproduction Case
43If you can, please try to fork [this codesandbox](https://codesandbox.io/s/github/mike-north/ember-new-output/tree/ts), and give us an example that demonstrates the problem. Paste the link below so that we can see what's going on
44
45**Link: ** <your link here>
46
47<!-- example: "Create a new route, add an action to it as shown in the following code sample" -->
48
49
50### Now about that bug. What did you expect to see?
51<!-- example: "I expected to be able to invoke my function foo() -->
52
53### What happened instead?
54<!-- example: "TypeScript seems to think that there is no function foo()" -->