Skip to content

Commit

Permalink
feat: QPPA-9423 adds strong typing to util file function
Browse files Browse the repository at this point in the history
  • Loading branch information
john-manack committed Aug 26, 2024
1 parent 3d61143 commit 42003dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion util/mvp-data-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ import * as path from 'path';
import * as _ from 'lodash';
import { Constants } from '../constants';
import { getMeasuresData } from '../index';
import { MVPData } from './interfaces/mvp';

export function createMVPDataFile(performanceYear: number): any {
export function createMVPDataFile(performanceYear: number): MVPData[] {
const basePath = path.resolve(__dirname, '..');
const mvpFilePath = path.join(basePath, 'mvp', performanceYear.toString(), 'mvp-enriched.json');
const measureFilePath = path.join(basePath, 'measures', performanceYear.toString(), 'measures-data.json');
Expand Down

0 comments on commit 42003dc

Please sign in to comment.