Loading lib/jsduck/type_parser.rb +1 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ module JsDuck "string" => "String", "null" => "null", "undefined" => "undefined", "void" => "void", } end Loading spec/type_parser_spec.rb +1 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ describe JsDuck::TypeParser do parse("string").should == true parse("null").should == true parse("undefined").should == true parse("void").should == true end it "links primitive types to classes" do Loading Loading
lib/jsduck/type_parser.rb +1 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ module JsDuck "string" => "String", "null" => "null", "undefined" => "undefined", "void" => "void", } end Loading
spec/type_parser_spec.rb +1 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ describe JsDuck::TypeParser do parse("string").should == true parse("null").should == true parse("undefined").should == true parse("void").should == true end it "links primitive types to classes" do Loading