Clean up typescript errors
This commit is contained in:
parent
ad7827f2f1
commit
e608f552f1
|
@ -1,5 +1,3 @@
|
||||||
import { GROUP_CHAT_SLUG } from 'common/group'
|
|
||||||
|
|
||||||
type Contest = {
|
type Contest = {
|
||||||
link: string
|
link: string
|
||||||
description: string
|
description: string
|
||||||
|
@ -8,9 +6,9 @@ type Contest = {
|
||||||
closeTime: string
|
closeTime: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export let contest_data: { [name: string]: Contest } = {}
|
export const CONTEST_DATA: { [name: string]: Contest } = {}
|
||||||
|
|
||||||
contest_data['cause-exploration-prize'] = {
|
CONTEST_DATA['cause-exploration-prize'] = {
|
||||||
link: 'https://www.causeexplorationprizes.com/',
|
link: 'https://www.causeexplorationprizes.com/',
|
||||||
description:
|
description:
|
||||||
'Open Philanthropy’s contest to find ideas for the best ways to use their resources, with focus on new areas to support, health development, and worldview investigations.',
|
'Open Philanthropy’s contest to find ideas for the best ways to use their resources, with focus on new areas to support, health development, and worldview investigations.',
|
||||||
|
@ -21,4 +19,4 @@ contest_data['cause-exploration-prize'] = {
|
||||||
closeTime: '2022-09-01',
|
closeTime: '2022-09-01',
|
||||||
}
|
}
|
||||||
|
|
||||||
export const CONTEST_SLUGS = Object.keys(contest_data)
|
export const CONTEST_SLUGS = Object.keys(CONTEST_DATA)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user