Simply Blog

Simply Theme
Home テクノロジー TypeScriptを学習してみたい!

2024.01.15

TypeScriptを学習してみたい!

TypeScriptを学習してみたい!

そんなことを考えて色々勉強してみるけど、中々奥が深いので全然使いこなせない!

type Context = "dummy-context"
type Handler<T = any> = (context: Context) => T;

const provider = () => "x" as const;

const handler: Handler = ((c: Context) => {
	return provider()
});
const t: ReturnType<typeof handler> = "x";

いや〜・・・難し過ぎて頭から煙出そう・・・

好きなプログラミング言語

  1. rust
  2. php
  3. typescript

色々好きなプログラミング言語ありま!

日々学習ですな!