sidebarDepth categories tags 0 TypeScript TSLint TypeScript new-parens new 一个对象时,必须使用圆括号。 const foo = new Foo; const foo = new Foo();