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 @@ -146,7 +146,7 @@ function convertKDLNodes(nodes: Node[]): DeepPartial<WebIdl> {
146146 dictionary [ name ] = merge ( dictionary [ name ] , handleDictionary ( node ) ) ;
147147 break ;
148148 case "typedef" :
149- typedefs . push ( handleTypeDef ( node ) ) ;
149+ typedefs . push ( handleTypedef ( node ) ) ;
150150 break ;
151151 default :
152152 throw new Error ( `Unknown node name: ${ node . name } ` ) ;
@@ -442,7 +442,7 @@ function handleMember(c: Node): DeepPartial<Member> {
442442 * Handles type definition nodes
443443 * @param node The type definition node to handle.
444444 */
445- function handleTypeDef ( node : Node ) : DeepPartial < TypeDef > {
445+ function handleTypedef ( node : Node ) : DeepPartial < TypeDef > {
446446 const typeNodes = node . children . filter ( ( c ) => c . name === "type" ) ;
447447 return {
448448 name : string ( node . values [ 0 ] ) ,
You can’t perform that action at this time.
0 commit comments