File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { camelize, no } from 'shared/util'
77
88type TransformFunction = ( el : ASTElement , code : string ) => string ;
99type DataGenFunction = ( el : ASTElement ) => string ;
10- type DirctiveFunction = ( el : ASTElement , dir : ASTDirective , warn : Function ) => boolean ;
10+ type DirectiveFunction = ( el : ASTElement , dir : ASTDirective , warn : Function ) => boolean ;
1111
1212// configurable state
1313let warn
@@ -246,7 +246,7 @@ function genDirectives (el: ASTElement): string | void {
246246 for ( i = 0 , l = dirs . length ; i < l ; i ++ ) {
247247 dir = dirs [ i ]
248248 needRuntime = true
249- const gen : DirctiveFunction = platformDirectives [ dir . name ] || baseDirectives [ dir . name ]
249+ const gen : DirectiveFunction = platformDirectives [ dir . name ] || baseDirectives [ dir . name ]
250250 if ( gen ) {
251251 // compile-time directive that manipulates AST.
252252 // returns true if it also needs a runtime counterpart.
You can’t perform that action at this time.
0 commit comments