-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
Close ryoppippi/unplugin-typia#335: change `$` prefix to `_` for Svelte.
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { TypeGuardError } from "../TypeGuardError"; | ||
|
||
export const $functionalTypeGuardErrorFactory = (p: TypeGuardError.IProps) => | ||
export const _functionalTypeGuardErrorFactory = (p: TypeGuardError.IProps) => | ||
new TypeGuardError(p); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const $httpFormDataReadArray = ( | ||
export const _httpFormDataReadArray = ( | ||
input: any[], | ||
alternative: null | undefined, | ||
) => (input.length ? input : alternative); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export const _httpParameterReadString = (value: string) => | ||
value !== "null" ? value : null; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const $httpQueryReadArray = ( | ||
export const _httpQueryReadArray = ( | ||
input: any[], | ||
alternative: null | undefined, | ||
) => (input.length ? input : alternative); |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const $httpQueryReadString = ( | ||
export const _httpQueryReadString = ( | ||
str: string | null, | ||
): string | null | undefined => | ||
str === null ? undefined : str === "null" ? null : str; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export const _isBetween = (value: number, minimum: number, maximum: number) => | ||
minimum <= value && value <= maximum; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const $jsonStringifyRest = (str: string): string => { | ||
export const _jsonStringifyRest = (str: string): string => { | ||
return str.length === 2 ? "" : "," + str.substring(1, str.length - 1); | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export const $jsonStringifyTail = (str: string): string => | ||
export const _jsonStringifyTail = (str: string): string => | ||
str[str.length - 1] === "," ? str.substring(0, str.length - 1) : str; |