Telegram Group & Telegram Channel
как-то пропустил что в 4.8 появилась вот такая штуковина
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-8.html#exclude-specific-files-from-auto-imports
последнее время был такой кейс, есть враппер над sentry, и есть файл который умеет этот враппер лениво инициализировать как динамический модуль
публичные контракты намеренно одинаковые для облегчения их расширения, примерно вот в таком стиле
export const sentryCaptureLinkedException: typeof import("./SentryWrapper").sentryCaptureLinkedException =
(...args) => sentryWrapper?.sentryCaptureLinkedException(...args);

ну и тс при написании назойливо предлагает не тот импорт который надо
частично порешали через eslint, но всё равно неудобно
"no-restricted-imports": [
"error",
{
paths: [
{
name: "./SentryWrapper",
message: "Please use SentryLazy",
},
],
},
],


штука в 4.8 зарешала



tg-me.com/typesafesound/63
Create:
Last Update:

как-то пропустил что в 4.8 появилась вот такая штуковина
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-8.html#exclude-specific-files-from-auto-imports
последнее время был такой кейс, есть враппер над sentry, и есть файл который умеет этот враппер лениво инициализировать как динамический модуль
публичные контракты намеренно одинаковые для облегчения их расширения, примерно вот в таком стиле

export const sentryCaptureLinkedException: typeof import("./SentryWrapper").sentryCaptureLinkedException =
(...args) => sentryWrapper?.sentryCaptureLinkedException(...args);

ну и тс при написании назойливо предлагает не тот импорт который надо
частично порешали через eslint, но всё равно неудобно
"no-restricted-imports": [
"error",
{
paths: [
{
name: "./SentryWrapper",
message: "Please use SentryLazy",
},
],
},
],


штука в 4.8 зарешала

BY Typesafe & Sound


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 280

Share with your friend now:
tg-me.com/typesafesound/63

View MORE
Open in Telegram


Typesafe & Sound Telegram | DID YOU KNOW?

Date: |

Start with a fresh view of investing strategy. The combination of risks and fads this quarter looks to be topping. That means the future is ready to move in.Likely, there will not be a wholesale shift. Company actions will aim to benefit from economic growth, inflationary pressures and a return of market-determined interest rates. In turn, all of that should drive the stock market and investment returns higher.

What is Secret Chats of Telegram

Secret Chats are one of the service’s additional security features; it allows messages to be sent with client-to-client encryption. This setup means that, unlike regular messages, these secret messages can only be accessed from the device’s that initiated and accepted the chat. Additionally, Telegram notes that secret chats leave no trace on the company’s services and offer a self-destruct timer.

Typesafe & Sound from us


Telegram Typesafe & Sound
FROM USA