(name, errorAfter, since, message)
| 3219 | }; |
| 3220 | } |
| 3221 | function createWarningDeprecation(name, errorAfter, since, message) { |
| 3222 | var hasWrittenDeprecation = false; |
| 3223 | return function () { |
| 3224 | if (!hasWrittenDeprecation) { |
| 3225 | log.warn(formatDeprecationMessage(name, /*error*/ false, errorAfter, since, message)); |
| 3226 | hasWrittenDeprecation = true; |
| 3227 | } |
| 3228 | }; |
| 3229 | } |
| 3230 | function createDeprecation(name, options) { |
| 3231 | var _a, _b; |
| 3232 | if (options === void 0) { options = {}; } |
no test coverage detected