Update variable declarations to use const instead of let

This commit is contained in:
Moe Poi ~ 2024-03-27 14:35:44 +07:00
parent 6227a75161
commit 1d142d8885
Signed by: moepoi
GPG key ID: EADBACA726DD4853
4 changed files with 65 additions and 65 deletions

View file

@ -1,5 +1,5 @@
export let emailAddress: string = 'moe@poi.lol';
export let publicKey: string = `-----BEGIN PGP PUBLIC KEY BLOCK-----
export const emailAddress: string = 'moe@poi.lol';
export const publicKey: string = `-----BEGIN PGP PUBLIC KEY BLOCK-----
mDMEZa+LhhYJKwYBBAHaRw8BAQdAoBI6qbxs0VSL2hgo6+3CfSfBJYXeQgOhMv9h
4+KRcSS0Jk1pY2hhZWwgV2lsbGlhbSBKb25hdGhhbiA8bW9lQHBvaS5sb2w+iJYE

View file

@ -2,7 +2,7 @@
import NavBar from '../lib/components/NavBar.svelte';
import { projects, type Project } from '../lib/data/projects';
let projectsData: Project[] = projects;
const projectsData: Project[] = projects;
</script>
<NavBar />

View file

@ -2,11 +2,11 @@
import NavBar from '../lib/components/NavBar.svelte';
import { experience, education, language, type Resume } from '../lib/data/resume';
let experienceData: Resume[] = experience;
let educationData: Resume[] = education;
let languageData: Resume[] = language;
const experienceData: Resume[] = experience;
const educationData: Resume[] = education;
const languageData: Resume[] = language;
let resumeFile: string = '/assets/resume/Resume-Michael-William-Jonathan.pdf';
const resumeFile: string = '/assets/resume/Resume-Michael-William-Jonathan.pdf';
</script>
<NavBar />