mirror of
https://github.com/r-ca/kidshift-skills.git
synced 2024-10-25 17:14:03 +00:00
Serviceのベースを作成
This commit is contained in:
parent
a7900de8cd
commit
99ee452265
9
src/service/_ServiceBase.ts
Normal file
9
src/service/_ServiceBase.ts
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import api from '../api';
|
||||||
|
|
||||||
|
class _ServiceBase {
|
||||||
|
setToken(token: string): void {
|
||||||
|
api.setToken(token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export default _ServiceBase;
|
Loading…
Reference in New Issue
Block a user