This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

13 lines
297 B
JavaScript

import {MIME} from '../shared/symbols.js';
import {Document} from '../interface/document.js';
/**
* @implements globalThis.Document
*/
export class SVGDocument extends Document {
constructor() { super('image/svg+xml'); }
toString() {
return this[MIME].docType + super.toString();
}
}