Element.QuerySelector mungkin null

const el = document.querySelector('#craftweight')!
el.innerHTML = 'foo'
// Or:
document.querySelector('#craftweight')!.innerHTML = 'bar'
|_Genos_|