typia 7.0.0-dev.20241002 → 7.0.0-dev.20241002-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
1
  export namespace NameEncoder {
2
- export function encode(str: string): string {
2
+ export const encode = (str: string): string => {
3
3
  for (const [before, after] of REPLACERS)
4
4
  str = str.split(before).join(after);
5
5
  return str;
6
- }
6
+ };
7
7
 
8
- export function decode(str: string): string {
8
+ export const decode = (str: string): string => {
9
9
  for (const [before, after] of REPLACERS)
10
10
  if (after !== "") str = str.split(after).join(before);
11
11
  return str;
12
- }
12
+ };
13
13
  }
14
14
 
15
15
  const REPLACERS: [string, string][] = [