Update init template & TS documentation (#7813)

* Update init template & TS documentation

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
Arnaud Barré
2023-12-24 15:13:53 +01:00
committed by GitHub
parent a119e8d636
commit 6077ace528
8 changed files with 47 additions and 65 deletions

View File

@@ -317,7 +317,7 @@ pub const InitCommand = struct {
if (needs_dev_dependencies) {
var dev_dependencies = fields.object.get("devDependencies") orelse js_ast.Expr.init(js_ast.E.Object, js_ast.E.Object{}, logger.Loc.Empty);
try dev_dependencies.data.e_object.putString(alloc, "bun-types", "latest");
try dev_dependencies.data.e_object.putString(alloc, "@types/bun", "latest");
try fields.object.put(alloc, "devDependencies", dev_dependencies);
}