Typescript project not starting

I completely rewrite my project using typescript. On the server, everything is writing using typescript. Now the project is not starting anymore:
=> Started proxy.
=> Started MongoDB.
$ username

I ran meteor reset/rebuilt, remove re-install npm. Nothing.
I also realized that using index.ts/tsx as an entry point does not work.
Here is my client entry:

import { ApolloProvider } from '@apollo/client';
import { Accounts } from 'meteor/accounts-base';
import { Meteor } from 'meteor/meteor';
import { hydrate, render } from 'react-dom';
import { BrowserRouter } from 'react-router-dom';
import React from 'react';
import App from '@/ui/layouts/App';
import apolloClient from './apollo';

Accounts.onLogout(() => apolloClient.resetStore());

Meteor.startup(() => {
  const app = (
    <ApolloProvider client={apolloClient}>
        <App />

  return !window.noSSR ? hydrate(app, target) : render(app, target);

Related and solved here