Skip to content

Commit 44a6a9b

Browse files
committed
Make FileSystemWriter & Writer classes abstract.
1 parent ed76d97 commit 44a6a9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/writer-generator/writer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type WriterOptions = FileSystemWriterOptions & {
1919
type FileBufferInternal = { relPath: string; absPath: string; tokens: string[] };
2020
export type FileBuffer = { relPath: string; absPath: string; content: string };
2121

22-
export class FileSystemWriter<T extends FileSystemWriterOptions = FileSystemWriterOptions> {
22+
export abstract class FileSystemWriter<T extends FileSystemWriterOptions = FileSystemWriterOptions> {
2323
opts: T;
2424
currentDir?: string;
2525
currentFile?: { relPath: string; descriptor: number };

0 commit comments

Comments
 (0)