This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Type routes with optional segments '/posts/[[...slug]]' to correctly infer parameter presence and type.
You've completed the free preview. Subscribe to unlock every lesson in every course.