mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
5 lines
173 B
TypeScript
5 lines
173 B
TypeScript
import React from 'react';
|
|
|
|
// The typing forces us to put something inside createContext(); start with undefined
|
|
export const TodoContext = React.createContext(undefined);
|