const x = {
formatting: { getIndent: "getIndent" },
};
x?.formatting?.getIndent?.();
Uncaught TypeError: x?.formatting?.getIndent is not a function at
Why am I getting this error ? typescript this code it works
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
const x = {
formatting: { getIndent: "getIndent" },
};
x?.formatting?.getIndent?.();
Uncaught TypeError: x?.formatting?.getIndent is not a function at
Why am I getting this error ? typescript this code it works