Skip to content

Commit 5e64939

Browse files
committed
chore: linting
1 parent 9d81c98 commit 5e64939

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/quartz/QuartzConfigService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class QuartzConfigService {
6666
return this.yamlDocument.toString();
6767
}
6868

69-
const doc = new Document(config);
69+
const doc = new Document<YAMLMap>(config);
7070
this.ensureSchemaComment(doc);
7171

7272
return doc.toString();
@@ -160,7 +160,7 @@ export class QuartzConfigService {
160160
);
161161
}
162162

163-
private ensureSchemaComment(doc: Document<YAMLMap> | Document): void {
163+
private ensureSchemaComment(doc: Document<YAMLMap>): void {
164164
// The `yaml` library attaches a leading `# yaml-language-server: ...`
165165
// line from a parsed document to the first key node's `commentBefore`,
166166
// not to `doc.commentBefore` (which stays null). Checking only

0 commit comments

Comments
 (0)