UNPKG
@zup-it/beagle-backend-cli
Version:
latest (1.1.0)
1.1.0
1.0.0
1.0.0-rc.3
1.0.0-rc.2
1.0.0-rc.1
1.0.0-beta.1
CLI for Beagle Backend using TypeScript
github.com/ZupIT/beagle-backend-ts/
@zup-it/beagle-backend-cli
/
templates
/
boilerplate
/
src
/
global-context.ts
8 lines
(5 loc)
•
183 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{ getGlobalContext }
from
'@zup-it/beagle-backend-core'
export
interface
GlobalContext
{
message
?:
string
, }
export
const
globalContext = getGlobalContext<
GlobalContext
>()