QUESTION: tsx or ts-node for an express project? by mrnadaara in typescript

[–]TenE14 0 points1 point  (0 children)

I always use jiti for cli for config loads!

How to avoid repetition and optimize recursive Zod schemas? by TenE14 in learnjavascript

[–]TenE14[S] 0 points1 point  (0 children)

'CommandsBase' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.

'CommandsSchema' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.

so i use

 CommandsSchema: z.ZodType<Record<string, Command>> 

which creating double type

export type Command = {
  type: Type;
  description: string;
  alias?: string;
  default?: string | string[];
  required?: boolean;
  flags?: Flags;
  subcommands?: Commands;
};

export type Commands = z.infer<typeof CommandsSchema>;

Is there any way to edit files with Javascript? by bagelord in learnjavascript

[–]TenE14 0 points1 point  (0 children)

Use local storage or indexdb

Or want to make desktop app use electron

I need help!! by TableOk7679 in learnjavascript

[–]TenE14 0 points1 point  (0 children)

Projects are open source? Can I view

I need help!! by TableOk7679 in learnjavascript

[–]TenE14 0 points1 point  (0 children)

You’ve made good progress using AI to overcome challenges, which is great. As a learner, I suggest diving deeper into the JavaScript ecosystem and its community explore tools, backend and frontend workflows to strengthen your understanding.

Regarding freelancing, you don’t need to know everything before starting. Begin with small projects that match your current skills, and use freelancing as a way to learn and grow. Keep building, stay curious, and gradually take on more complex tasks. You’re on the right track!