File tree 2 files changed +5
-2
lines changed 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ declare namespace Handlebars {
31
31
partial ?: boolean ;
32
32
depths ?: any [ ] ;
33
33
helpers ?: { [ name : string ] : Function } ;
34
- partials ?: { [ name : string ] : HandlebarsTemplateDelegate } ;
34
+ partials ?: { [ name : string ] : Template } ;
35
35
decorators ?: { [ name : string ] : Function } ;
36
36
data ?: any ;
37
37
blockParams ?: any [ ] ;
@@ -63,7 +63,7 @@ declare namespace Handlebars {
63
63
export function unregisterHelper ( name : string ) : void ;
64
64
65
65
export function registerPartial ( name : string , fn : Template ) : void ;
66
- export function registerPartial ( spec : { [ name : string ] : HandlebarsTemplateDelegate } ) : void ;
66
+ export function registerPartial ( spec : { [ name : string ] : Template } ) : void ;
67
67
export function unregisterPartial ( name : string ) : void ;
68
68
69
69
// TODO: replace Function with actual signature
Original file line number Diff line number Diff line change @@ -250,6 +250,9 @@ function testProtoAccessControlControlOptions() {
250
250
allowedProtoProperties : { allowedProperty : true , forbiddenProperty : false } ,
251
251
allowProtoMethodsByDefault : true ,
252
252
allowProtoPropertiesByDefault : false ,
253
+ partials : {
254
+ link : '<a href="/people/{{id}}">{{name}}</a>'
255
+ }
253
256
}
254
257
) ;
255
258
}
You can’t perform that action at this time.
0 commit comments