Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions packages/@ember/helper/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ export const invokeHelper = glimmerInvokeHelper;
* **NOTE:** this example uses the experimental `<template>` feature, which is
* the only place you need to import `hash` to use it (it is a built-in when
* writing standalone `.hbs` files).
*
* @method hash
* @for @ember/helper
* @public
* @static
*/
export const hash = glimmerHash as HashHelper;
export interface HashHelper extends Opaque<'helper:hash'> {}
Expand All @@ -374,6 +379,11 @@ export interface HashHelper extends Opaque<'helper:hash'> {}
* the only place you need to import `array` to use it (it is a built-in when
* writing standalone `.hbs` files).
* ```
*
* @method array
* @for @ember/helper
* @public
* @static
*/
export const array = glimmerArray as ArrayHelper;
export interface ArrayHelper extends Opaque<'helper:array'> {}
Expand All @@ -399,6 +409,11 @@ export interface ArrayHelper extends Opaque<'helper:array'> {}
* **NOTE:** this example uses the experimental `<template>` feature, which is
* the only place you need to import `concat` to use it (it is a built-in when
* writing standalone `.hbs` files).
*
* @method concat
* @for @ember/helper
* @public
* @static
*/
export const concat = glimmerConcat as ConcatHelper;
export interface ConcatHelper extends Opaque<'helper:concat'> {}
Expand Down Expand Up @@ -444,6 +459,11 @@ export interface ConcatHelper extends Opaque<'helper:concat'> {}
* **NOTE:** this example uses the experimental `<template>` feature, which is
* the only place you need to import `concat` to use it (it is a built-in when
* writing standalone `.hbs` files).
*
* @method get
* @for @ember/helper
* @public
* @static
*/
export const get = glimmerGet as GetHelper;
export interface GetHelper extends Opaque<'helper:get'> {}
Expand All @@ -466,6 +486,11 @@ export interface GetHelper extends Opaque<'helper:get'> {}
* </button>
* </template>
* ```
*
* @method fn
* @for @ember/helper
* @public
* @static
*/
export const fn = glimmerFn as FnHelper;
export interface FnHelper extends Opaque<'helper:fn'> {}
Expand All @@ -487,6 +512,11 @@ export interface FnHelper extends Opaque<'helper:fn'> {}
* {{/let}}
* </template>
* ```
*
* @method uniqueId
* @for @ember/helper
* @public
* @static
*/
export const uniqueId = glimmerUniqueId;
export type UniqueIdHelper = typeof uniqueId;
Expand Down
1 change: 1 addition & 0 deletions tests/docs/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ module.exports = {
'uniq',
'uniqBy',
'unique-id',
'uniqueId',
'unless',
'unregister',
'unregisterDestructor',
Expand Down
Loading