Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[@types/ember bug] - Ember.String.fmt was removed #280

Closed
1 task done
mike-north opened this issue Sep 6, 2018 · 0 comments
Closed
1 task done

[@types/ember bug] - Ember.String.fmt was removed #280

mike-north opened this issue Sep 6, 2018 · 0 comments
Assignees
Labels
bug types:core Something is wrong with the Ember type definitions

Comments

@mike-north
Copy link
Contributor

Which package(s) does this problem pertain to?

  • @types/ember

What are instructions we can follow to reproduce the issue?

import { fmt } from '@ember/string';

fmt // < should not be an available type

Now about that bug. What did you expect to see?

I didn't expect type information to indicate that I can do "".fmt()


fmt was removed here emberjs/ember.js#15882

@mike-north mike-north added bug types:core Something is wrong with the Ember type definitions labels Sep 6, 2018
mike-north added a commit to mike-north/DefinitelyTyped that referenced this issue Sep 6, 2018
@mike-north mike-north self-assigned this Sep 7, 2018
RyanCavanaugh pushed a commit to DefinitelyTyped/DefinitelyTyped that referenced this issue Sep 10, 2018
…es (#28686)

* fix: allow Ember.typeOf zero-argument case

Fixes: typed-ember/ember-cli-typescript#260

* fix: remove outdated Ember.String.fmt

Fixes: typed-ember/ember-cli-typescript#280

* fix: allow zero-argument usage of Ember.isBlank, .isEmpty, .isPresent and .isNone

Fixes typed-ember/ember-cli-typescript#258
Fixes typed-ember/ember-cli-typescript#255
Fixes typed-ember/ember-cli-typescript#256
Fixes typed-ember/ember-cli-typescript#254
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug types:core Something is wrong with the Ember type definitions
Projects
None yet
Development

No branches or pull requests

1 participant