@simplysm/sd-core-common
Advanced tools
Comparing version 12.4.2 to 12.5.1
@@ -0,3 +1,4 @@ | ||
import { TFlatType } from "./Type"; | ||
export type DeepPartial<T> = Partial<{ | ||
[K in keyof T]: DeepPartial<T[K]>; | ||
[K in keyof T]: T[K] extends TFlatType ? T[K] : DeepPartial<T[K]>; | ||
}>; |
@@ -8,2 +8,3 @@ export declare class StringUtil { | ||
static isNullOrEmpty(str: string | null | undefined): str is ("" | undefined | null); | ||
static insert(str: string, index: number, insertString: string): string; | ||
} |
@@ -76,3 +76,6 @@ export class StringUtil { | ||
} | ||
static insert(str, index, insertString) { | ||
return str.substring(0, index) + insertString + str.substring(index); | ||
} | ||
} | ||
//# sourceMappingURL=StringUtil.js.map |
{ | ||
"name": "@simplysm/sd-core-common", | ||
"version": "12.4.2", | ||
"version": "12.5.1", | ||
"description": "심플리즘 패키지 - 코어 모듈 (common)", | ||
@@ -5,0 +5,0 @@ "author": "김석래", |
@@ -1,1 +0,3 @@ | ||
export type DeepPartial<T> = Partial<{ [K in keyof T]: DeepPartial<T[K]> }>; | ||
import {TFlatType} from "./Type"; | ||
export type DeepPartial<T> = Partial<{ [K in keyof T]: T[K] extends TFlatType ? T[K] : DeepPartial<T[K]> }>; |
@@ -82,2 +82,6 @@ export class StringUtil { | ||
} | ||
public static insert(str: string, index: number, insertString: string) { | ||
return str.substring(0, index) + insertString + str.substring(index) | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294078
138
5553