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'
7
7
8
8
type TransformFunction = ( el : ASTElement , code : string ) => string ;
9
9
type DataGenFunction = ( el : ASTElement ) => string ;
10
- type DirctiveFunction = ( el : ASTElement , dir : ASTDirective , warn : Function ) => boolean ;
10
+ type DirectiveFunction = ( el : ASTElement , dir : ASTDirective , warn : Function ) => boolean ;
11
11
12
12
// configurable state
13
13
let warn
@@ -246,7 +246,7 @@ function genDirectives (el: ASTElement): string | void {
246
246
for ( i = 0 , l = dirs . length ; i < l ; i ++ ) {
247
247
dir = dirs [ i ]
248
248
needRuntime = true
249
- const gen : DirctiveFunction = platformDirectives [ dir . name ] || baseDirectives [ dir . name ]
249
+ const gen : DirectiveFunction = platformDirectives [ dir . name ] || baseDirectives [ dir . name ]
250
250
if ( gen ) {
251
251
// compile-time directive that manipulates AST.
252
252
// returns true if it also needs a runtime counterpart.
You can’t perform that action at this time.
0 commit comments