MCPcopy
hub / github.com/prisma/prisma / unindent

Method unindent

packages/ts-builders/src/Writer.ts:136–141  ·  view source on GitHub ↗

* Decreases indentation level of the current line by 1, if it is possible * @returns

()

Source from the content-addressed store, hash-verified

134 * @returns
135 */
136 unindent(): this {
137 if (this.currentIndent > 0) {
138 this.currentIndent--
139 }
140 return this
141 }
142
143 /**
144 * Adds a symbol, that will replace the first character of the current line (including indentation)

Callers 2

withIndentMethod · 0.95
Writer.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected