Convert a DOM DocumentType into a string, e.g. "<!DOCTYPE html>"

doctype-to-string/src/ index.d.ts
4 lines
105 B

  1. declare module 'doctype-to-string' {
  2. export default function(doctype: DocumentType | null): string
  3. }