@@ -58,7 +58,7 @@ export function customElement(name: string): any {
5858* @param defaultBindingMode The default binding mode to use when the attribute is bound with .bind.
5959* @param aliases The array of aliases to associate to the custom attribute.
6060*/
61- export function customAttribute ( name : string , defaultBindingMode ? : number , aliases ?: string [ ] ) : any {
61+ export function customAttribute ( name : string , defaultBindingMode ? : bindingMode , aliases ?: string [ ] ) : any {
6262 return function ( target ) {
6363 let r = metadata . getOrCreateOwn ( metadata . resource , HtmlBehaviorResource , target ) ;
6464 r . attributeName = validateBehaviorName ( name , 'custom attribute' ) ;
@@ -85,7 +85,7 @@ export function templateController(target?): any {
8585* Decorator: Specifies that a property is bindable through HTML.
8686* @param nameOrConfigOrTarget The name of the property, or a configuration object.
8787*/
88- export function bindable ( nameOrConfigOrTarget ?: string | Object , key ?, descriptor ?) : any {
88+ export function bindable ( nameOrConfigOrTarget ?: string | BindablePropertyConfig , key ?, descriptor ?) : any {
8989 let deco = function ( target , key2 , descriptor2 ) {
9090 let actualTarget = key2 ? target . constructor : target ; //is it on a property or a class?
9191 let r = metadata . getOrCreateOwn ( metadata . resource , HtmlBehaviorResource , actualTarget ) ;
@@ -224,14 +224,14 @@ export function useView(path: string): any {
224224* @param dependencies A list of dependencies that the template has.
225225* @param dependencyBaseUrl A base url from which the dependencies will be loaded.
226226*/
227- export function inlineView ( markup :string , dependencies ?:Array < string | Function | Object > , dependencyBaseUrl ?:string ) : any {
227+ export function inlineView ( markup : string , dependencies ?: Array < string | Function | Object > , dependencyBaseUrl ?: string ) : any {
228228 return useViewStrategy ( new InlineViewStrategy ( markup , dependencies , dependencyBaseUrl ) ) ;
229229}
230230
231231/**
232232* Decorator: Indicates that the component has no view.
233233*/
234- export function noView ( targetOrDependencies ?:Function | Array < any > , dependencyBaseUrl ?:string ) : any {
234+ export function noView ( targetOrDependencies ?: Function | Array < any > , dependencyBaseUrl ?: string ) : any {
235235 let target ;
236236 let dependencies ;
237237 if ( typeof targetOrDependencies === 'function' ) {
0 commit comments