文件操作 - index.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/lib/node_modules/npm/node_modules/p-is-promise/index.d.ts
编辑文件内容
declare const pIsPromise: { /** Check if `input` is a ES2015 promise. @param input - Value to be checked. @example ``` import isPromise = require('p-is-promise'); isPromise(Promise.resolve('🦄')); //=> true ``` */ (input: unknown): input is Promise<unknown>; // TODO: Remove this for the next major release, refactor the whole definition to: // declare function pIsPromise(input: unknown): input is Promise<unknown>; // export = pIsPromise; default: typeof pIsPromise; }; export = pIsPromise;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件