autodoc: add typedef to zigAnalysis file, just in case
This commit is contained in:
parent
e39d1ae78f
commit
9cd9a390ae
|
@ -210,7 +210,10 @@ pub fn generateZirData(self: *Autodoc) !void {
|
|||
const data_js_f = output_dir.createFile("data.js", .{}) catch unreachable;
|
||||
defer data_js_f.close();
|
||||
const out = data_js_f.writer();
|
||||
out.print("zigAnalysis=", .{}) catch unreachable;
|
||||
out.print(
|
||||
\\ /** @type {{DocData}} */
|
||||
\\ var zigAnalysis=
|
||||
, .{}) catch unreachable;
|
||||
std.json.stringify(
|
||||
data,
|
||||
.{
|
||||
|
|
Loading…
Reference in New Issue
Block a user