hexojs / hexo-util

Utilities for Hexo.
MIT License
93 stars 59 forks source link

fix(prism): use correct type to pass test #296

Closed liby closed 1 year ago

liby commented 1 year ago

https://github.com/hexojs/hexo-util/blob/master/lib/prism.ts#LL57-L65C2

interface Options {
  caption?: string;
  firstLine?: number;
  isPreprocess?: boolean;
  lang?: string;
  lineNumber?: boolean;
  mark?: string;
  tab?: string;
}
coveralls commented 1 year ago

Coverage Status

Coverage: 95.527%. Remained the same when pulling 782f045bcd531a37fa073feb1dced61c606db42f on liby:master into f53c77da6482b37ec9f2d8c3566b94871cca2a75 on hexojs:master.