CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
index.d.ts28 linesDownload Raw Back to redent
1import {Options as IndentStringOptions} from 'indent-string';2 3declare namespace redent {4	type Options = IndentStringOptions;5}6 7/**8[Strip redundant indentation](https://github.com/sindresorhus/strip-indent) and [indent the string](https://github.com/sindresorhus/indent-string).9 10@param string - The string to normalize indentation.11@param count - How many times you want `options.indent` repeated. Default: `0`.12 13@example14```15import redent = require('redent');16 17redent('\n  foo\n    bar\n', 1);18//=> '\n foo\n   bar\n'19```20*/21declare function redent(22	string: string,23	count?: number,24	options?: redent.Options25): string;26 27export = redent;28 
basant307/AI_Governance_Project · CoolFace