Got strongly typed typescript arrays working.