Files
NapCatQQ/.pnpm-store/v3/files/10/d2e179d2ba1072458d6af9e9bf155fa980faf4f1aa59f1dd3e79f351d719b69bb11ab6c529eb9bc7af6a691d7c3e42f040cb69f436b6bab3d2e51e63f67d80
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
421 B
Plaintext

import { stringifyString } from '../../stringify/stringifyString.js';
const string = {
identify: value => typeof value === 'string',
default: true,
tag: 'tag:yaml.org,2002:str',
resolve: str => str,
stringify(item, ctx, onComment, onChompKeep) {
ctx = Object.assign({ actualString: true }, ctx);
return stringifyString(item, ctx, onComment, onChompKeep);
}
};
export { string };