您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324
  1. import filenamify = require('./filenamify');
  2. import filenamifyPath = require('./filenamify-path');
  3. declare const filenamifyCombined: {
  4. /**
  5. Convert a string to a valid filename.
  6. @example
  7. ```
  8. import filenamify = require('filenamify');
  9. filenamify('<foo/bar>');
  10. //=> 'foo!bar'
  11. filenamify('foo:"bar"', {replacement: '🐴'});
  12. //=> 'foo🐴bar'
  13. ```
  14. */
  15. (string: string, options?: filenamify.Options): string;
  16. path: typeof filenamifyPath;
  17. };
  18. export = filenamifyCombined;