mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 13:22:07 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user