mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Ember Component: update summary docstring (#38500)
The current docstring on `@ember/component`'s type definition is far out of date; update it to match the current text in Ember's docs.
This commit is contained in:
parent
6f2c8dffe3
commit
7cc4e18aed
6
types/ember__component/index.d.ts
vendored
6
types/ember__component/index.d.ts
vendored
@ -17,9 +17,9 @@ interface TemplateFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* A view that is completely isolated. Property access in its templates go to the view object
|
||||
* and actions are targeted at the view object. There is no access to the surrounding context or
|
||||
* outer controller; all contextual information is passed in.
|
||||
* A component is an isolated piece of UI, represented by a template and an
|
||||
* optional class. When a component has a class, its template's `this` value
|
||||
* is an instance of the component class.
|
||||
*/
|
||||
export default class Component extends CoreView.extend(
|
||||
ViewMixin,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user