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