Skip to content

Instantly share code, notes, and snippets.

View baronTommy's full-sized avatar
:octocat:
ぎっとはぶ

Tommy baronTommy

:octocat:
ぎっとはぶ
View GitHub Profile
@baronTommy
baronTommy / Web Storage
Created September 4, 2018 08:53
Web Storage
---
# Web Storage
---
# local Storage
## 概要
- key-value型
- 単純なデータ保存
@baronTommy
baronTommy / Nyan Cat.gif
Last active October 10, 2019 06:23
Nyan Cat
Nyan Cat.gif
@baronTommy
baronTommy / dev_cat.gif
Last active October 10, 2019 07:41
𝗪𝗜𝗣: 𝗔𝗹𝗹
dev_cat.gif
@baronTommy
baronTommy / bad.ts
Last active June 15, 2020 06:43
TypeScriptエラーハンドリング
type Profile = {
id: number;
name: string;
foo: string;
bar: string;
};
const fetchProfile = () => {
return fetch("/profile").then<Profile>((res) => res.json());